<table border="1" class="luru_tab_h" borderColor=#7ec1ff id="addData">
  <tr>
    <td class="luru_title_h">
      ${jxrb.message("systemDataImport.sheet")}
    </td>  
    <td colspan="2" class="luru_title_h">
      ${jxrb.message("systemDataImport.configType")}
    </td>
  </tr> 
  <#if (dataConfig??)>
  <#if (dataConfig.tableSheets.size() != 0)>
  <#list dataConfig.tableSheets as data>
  <tr id ="divD_${data_index}">          
    <td>
      <input name="sheetName" type="text"  size="20" value="${(data.sheetName)!}" />
    </td>
    <td>     
      <div id="dataTypediv" style="float: left">         
        <select id="configId" name="configType" >     
          <#list list as conFig>
          <#if (data.configType == (conFig.CONFIG_ID)!)>
          <option value="${(conFig.CONFIG_ID)!}" selected>${(conFig.CONFIG_NAME)!}</option>
          <#else>
          <option value="${(conFig.CONFIG_ID)!}">${(conFig.CONFIG_NAME)!}</option>
          </#if>
          </#list>
        </select>
      </div>
    </td>  
    <td>
      <#if (data_index != 0)>
      <input type="button" value='${jxrb.message("action.del")}'  onclick="deleteData('${data_index}')"/>
      <#else>
      <input type="button"  value='${jxrb.message("action.add")}' id="addP" onclick="addDatas()"/>
      </#if>
    </td>          
  </tr>             
  </#list>  
  <#else>        
  <tr>
    <td>
      <input name="sheetName" type="text" value=""size="20"  />
    </td>
    <td>     
      <div id="dataTypediv" style="float: left">
        <select id="configId" name="configType" >             
          <#list list as conFig>
          <option value="${(conFig.CONFIG_ID)!}" >${(conFig.CONFIG_NAME)!}</option>
          </#list>
        </select>  
        <input type="button"  value='${jxrb.message("action.add")}' id="addP" onclick="addDatas()"/>
      </div>
    </td>   
  </tr> 
  </#if>
  <#else>
  <tr>
    <td>
      <input name="sheetName" type="text" value=""size="20"  />
    </td>
    <td>  
      <div id="dataTypediv" style="float: left">
        <select id="configId" name="configType" >             
          <#list list as conFig>
          <option value="${(conFig.CONFIG_ID)!}" >${(conFig.CONFIG_NAME)!}</option>
          </#list>
        </select>
      </div>
    </td>
    <td>
      <input type="button"  value='${jxrb.message("action.add")}' id="addP" onclick="addDatas()"/>
    </td>   
  </tr> 
  </#if>
</table>